Skip to content

Add subagent Cortex Code integrations#30

Open
sfc-gh-tjia wants to merge 1 commit into
Snowflake-Labs:mainfrom
sfc-gh-tjia:add-subagent-cortex-code
Open

Add subagent Cortex Code integrations#30
sfc-gh-tjia wants to merge 1 commit into
Snowflake-Labs:mainfrom
sfc-gh-tjia:add-subagent-cortex-code

Conversation

@sfc-gh-tjia
Copy link
Copy Markdown

Summary

  • Add the full subagent-cortex-code/ repository as a source folder in snowflake-ai-kit
  • Link the new folder from the root README as additional Codex, Cursor, and terminal integrations
  • Keep the existing plugins/cortex-code/ Claude Code plugin unchanged

Notes

  • This imports only tracked files from Snowflake-Labs/subagent-cortex-code
  • No nested .git, generated bytecode, large files, or local personal artifacts are included
  • Root README wording intentionally avoids positioning this as a replacement for the existing Claude Code plugin

Validation

  • bash tests/run-tests.sh → 23 passed, 0 failed, 0 warnings, 1 skipped
  • Sensitive-file scan found no real secrets; hits were test fixtures or generic sanitizer examples only

@sfc-gh-tjia sfc-gh-tjia force-pushed the add-subagent-cortex-code branch 2 times, most recently from 493b078 to 850bce8 Compare May 7, 2026 22:08
@sfc-gh-tjia sfc-gh-tjia force-pushed the add-subagent-cortex-code branch from 850bce8 to 1698ad7 Compare May 7, 2026 22:14
Copy link
Copy Markdown
Member

@iamontheinet iamontheinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bringing the Codex, Cursor, and CLI integrations into the kit — these are valuable additions. However, since snowflake-ai-kit is the single canonical repo (not a mirror of subagent-cortex-code), we need to restructure to avoid duplication with what already ships here.

Requested changes

  1. Remove integrations/claude-code/ — this duplicates plugins/cortex-code/ which is already maintained in this repo.

  2. Remove skills/cortex-code/ — same scripts already exist in plugins/cortex-code/scripts/.

  3. Remove shared/scripts/ — third copy of the same code (execute_cortex.py, route_request.py, etc.).

  4. Drop internal design docsdocs/plans/ and docs/specs/ are internal design artifacts, not user-facing. Keep docs/references/ (CLI reference, troubleshooting, routing examples).

  5. Rename subagent-cortex-code/ to integrations/ — this is no longer a separate repo; the directory name should reflect its role within ai-kit.

Target structure

snowflake-ai-kit/
├── plugins/cortex-code/          # Claude Code plugin (existing, unchanged)
├── integrations/
│   ├── codex/                    # OpenAI Codex (new)
│   ├── cursor/                   # Cursor IDE (new)
│   └── cli-tool/                 # Standalone Python CLI (new)
├── shared/security/              # Shared security modules (single copy)
└── tests/                        # Unified test suite

This keeps the net-new value (Codex, Cursor, CLI tool, security tests) while eliminating the 3x duplication of core scripts. Happy to help with the restructure if useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants